package com.test2;

import java.math.BigDecimal;

public class Test4 {
	
	public static void main(String[] args) {

		int total = 22887;
		int size = 7000;
        BigDecimal aBig = new BigDecimal(total);
        BigDecimal bBig = new BigDecimal(size);
      //向上取整
        int num1 = (int)Math.ceil(aBig.divide(bBig).doubleValue());
        System.out.println(num1);
	}

}
